package com.aitoedu.server.service;

import com.aitoedu.server.dto.PreviewDTO;
import com.aitoedu.server.entity.Preview;
import com.aitoedu.server.vo.CoursePreviewVO;
import com.aitoedu.server.vo.PreviewVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 曹正豪
* @description 针对表【Preview(预习表)】的数据库操作Service
* @createDate 2024-10-17 22:51:15
*/
public interface PreviewService extends IService<Preview> {

    void pushPreview(PreviewDTO previewDTO);

    List<PreviewVO> preview(Long chapterId);

    List<CoursePreviewVO> previewList();
}
